<div class="userSchools form">
    <?php echo $this->Form->create('UserSchool'); ?>
    <fieldset>
        <legend><?php echo __('Edit User School'); ?></legend>
        <?php
        echo $this->Form->input('id');
        echo $this->Form->input('name');
        echo $this->Form->input('city');
        echo $this->Form->input('user_id');
        echo $this->Form->input('state_id');
        echo $this->Form->input('school_type_id');
        echo $this->Form->input('years_at_school');
        echo $this->Form->input('grade_level');
        echo $this->Form->input('graduated');
        ?>
    </fieldset>
    <?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>

        <li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('UserSchool.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('UserSchool.id'))); ?></li>
        <li><?php echo $this->Html->link(__('List User Schools'), array('action' => 'index')); ?></li>
        <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List States'), array('controller' => 'states', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New State'), array('controller' => 'states', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List School Types'), array('controller' => 'school_types', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New School Type'), array('controller' => 'school_types', 'action' => 'add')); ?> </li>
    </ul>
</div>
